package com.woniuxy.microsysserver.uitl;

/**
 * Auther: wuson  <br/>
 * Date: 2021/4/14:11:44  <br/>
 * Description:
 */
public class RandomCode {

    public static String smsCode() {
        String random = (int) ((Math.random() * 9 + 1) * 100000) + "";
        return random;
    }

    public static void main(String[] args) {

        System.out.println(smsCode());
//        System.out.println(UUID.randomUUID().toString().substring(0,19));
    }
}
